<template>
    <view class="">

	<web-view 
	v-if="isShow"
		:src="url"
		@message="message"
		@onPostMessage="onPostMessage"
	>
	</web-view>
</view>
</template>
<script>
import { isMobile } from '@/utils';
import config from "@/static/ktconfig"
	export default {
		name:"subscribe",
    components:{},
		data() {
			return {
				isShow:false,
				url:''
				
            }
		},
		onLoad() {
			wx.hideHomeButton({
				complete:()=>{
					console.log('aasdasd')
				}
			})
				this.url = 'https://'+config.domain+'/app/kt_ai/h5/#/pages/index/index?wid='+config.wid
				this.isShow = true
			},
		mounted() {
			
		},
		beforeDestroy() {
			
		},
		
		computed:{
			
		},
		methods: {
			message(){

			},
			onPostMessage(){

			}
		}
	}
</script>
<style lang="scss">
</style>